﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="万州特色农产品网" />
<meta name="description" content="万州特色农产品网" />
<link href="__PUBLIC__/css/base.css" type="text/css" rel="stylesheet" />
<link href="__PUBLIC__/css/main.css" type="text/css" rel="stylesheet" />





<script type="text/javascript">

	function validate(){		
		if ($('#username').val().length == 0){
			alert("用户名不能为空！");
			$('#username').focus();
			return false ;
		} 
		if ($('#password').val().length == 0){
			alert("密码不能为空！");
			$('#password').focus();
			return false ;
		}

		document.getElementById('validateForm').submit();
	}


	function fleshVerify(){
		var timenow = new Date().getTime();
		document.getElementById('verifyImg').src= '__URL__/verify/'+timenow;
	}
</script>

<title>万州特色农产品网</title>
</head>

<body>


<include file="./Tpl/default/Index/header.html" />


<div class="w980 clear mT10">
  <div class="content-left fLeft line18 w768">
  <div class="clear">
    <div class="login fLeft">
    
    
    <present name="_SESSION[C('USER_AUTH_KEY')]">				
				<p class="font14 orange fontbold p10 line20">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎登陆本网站</p>
			      <table border="0" class="w70auto">
			        <tr>
			          <td height="20" align="center" valign="middle"></td>
			          </tr>
			        <tr>
			          <td height="30" align="center" valign="middle" class="border-d-b"><a class="orange p5" href="__APP__/UserCenter/">&nbsp;进入用户中心&nbsp;</a></td>
			          </tr>
			           
			        <tr>
			          <td height="30" align="center" valign="middle" class="border-d-b"><a class="orange p5" href="__APP__/UserCenter/userInfomation">&nbsp;修改个人资料&nbsp;</a></td>
			          </tr> 
			        <tr>
			          <td height="30" align="center" valign="middle" class="border-d-b"><a class="orange p5" href="__APP__/ShoppingCart/">&nbsp;查看购物车&nbsp;</a></td>
			        </tr>
			        <tr>
			          <td height="55" align="center" valign="middle"></td>
			        </tr>
			      </table>
				 				
			<else /> 
				<form id="validateForm" name="validateForm" action="__APP__/User/userLogin/" method="post">
				     <p class="font14 orange fontbold p10 line20">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;会员登录</p>
				      <table width="100%" border="0">
				        <tr>
				          <td align="right" valign="middle" width="62" height="35">用户名：</td>
				          <td colspan="2" align="left" valign="middle"><input type="text" id="username" name="username" style="width:120px;" /></td>
				        </tr>
				        <tr>
				          <td align="right" valign="middle" height="35">密码：</td>
				          <td colspan="2" align="left" valign="middle"><input type="password" id="password" name="password" style="width:120px;"  /></td>
				        </tr>
				        <tr>
				          <td align="right" valign="middle" height="35">验证码：</td>
				          <td colspan="2" align="left" valign="middle"><input name="verify" type="text" style="width:50px;" />&nbsp;<img id="verifyImg" SRC="__URL__/verify/" BORDER="0" ALT="" align="absmiddle">&nbsp;<a href="javascript:fleshVerify()">看不清？换一张吧！</a></td>
				        </tr>
				        <tr>
				          <td height="35" colspan="3" align="center" valign="middle"><input class="border-s-Orange mR10" style="cursor:pointer;border:0; background:url(__PUBLIC__/images/login.gif) no-repeat; width:80px; height:25px;" border="0" onclick="validate();" value=""/>&nbsp;&nbsp; <a class="green line24" href="__APP__/User/userPassword" title="忘记密码">忘记密码？</a> </td>
				        </tr>
				        <tr>
				          <td height="45" colspan="3" align="center" valign="middle">还不是会员？点击这里 <a href="__APP__/User/register/" title="登录" class="green">免费注册</a></td>
				        </tr>
				      </table>
				 </form>
		</present> 
    
    
    
    <!-- 登陆后显示
      
       -->
    </div>
        <div class="fLeft mL10">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="545" height="240" id="FlashID" title="首页广告">
      <param name="movie" value="__PUBLIC__/images/3_elastic_menu_slide2.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" /> 
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="__PUBLIC__/images/3_elastic_menu_slide2.swf" width="545" height="240">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
        <div>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    
    
    <!--<div class="posnR fRight">
        <div id="banner" class="clear fLeft">
        <img  src="images/pro1.jpg" width="545" height="217"/>
        <img  src="images/12-25-51-24-5018.jpg.thumb.jpg" width="545" height="217"/>
        <img  src="images/12-28-50-14-4157.jpg.thumb.jpg" width="545" height="217"/>
        <img  src="images/14-15-43-52-5103.jpg.thumb.jpg" width="545" height="217"/>
        <img  src="images/14-19-23-81-5102_jpg_thumb.jpg" width="545" height="217"/>

    </div>
      <div id="btn" ></div>
      </div>-->
    </div>
    </div>
    <script> 
<!-- 
/*第一种形式 第二种形式 更换显示样式*/ 
function setTab(name,cursel,n){ 
for(i=1;i<=n;i++){ 
var menu=document.getElementById(name+i); 
var con=document.getElementById("con_"+name+"_"+i); 
menu.className=i==cursel?"hover":""; 
con.style.display=i==cursel?"block":"none"; 
} 
} 
//--> 
</script>
    <div class="fLeft mT10">
      <div class="Menubox font14 orange">
        <ul>
          <li id="two1" onmousemove="setTab('two',1,3)" class="cut">推荐产品</li>
          <li id="two2" onmousemove="setTab('two',2,3)" class="">最新产品</li>
          <li id="two3" onmousemove="setTab('two',3,3)" class="">热门产品</li>
        </ul>
      </div>
      <div class="clear">
      	<!-- 推荐产品 -->
        <div id="con_two_1" class="pTB10 clear">
        	<volist id="recommendvo" name="myList">				
		        <div align="center" class="fLeft line18 w150 pTB10 line20"> 			        		        
		        	<a href ="__APP__/ProductDetail/index/id/{$recommendvo['id']}" target="_blank"><img width="100" height="100" class="p1 lineBorder" src="__PUBLIC__/uploadfiles/files/common/{$recommendvo['imageurl_small']}"></a>
		            <div class=""><div class="overflow w150"> {$recommendvo['name']} </div>
		            <span class="fontGray9">市场价：{$recommendvo['market_price']} （元）</span><br/>
		            <span class="orange">本站价：{$recommendvo['local_price']}（元）</span> </div>
	          	</div>  
			</volist>      
        </div>
        
        <div id="con_two_2" style="display: none;"  class="pTB10 clear">
	        <volist id="vo" name="newList">				
		        <div align="center" class="fLeft line18 w150 pTB10"> 			        		        
		        	<a href ="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank"><img width="100" height="100" class="p1 lineBorder" src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}"></a>
		            <div class=""> <div class="overflow w150">{$vo['name']}</div>
		            <span class="fontGray9">市场价：{$vo['market_price']} （元）</span><br/>
		            <span class="orange">本站价：{$vo['local_price']}（元）</span> </div>
	          	</div>  
			</volist>   
        </div>
      <div id="con_two_3"  style="display: none;"  class="pTB10 clear">
        	<volist id="vo" name="hotList">				
		        <div align="center" class="fLeft line18 w150 pTB10"> 			        		        
		        	<a href ="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank"><img width="100" height="100" class="p1 lineBorder" src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}"></a>
		            <div class=""> <div class="overflow w150">{$vo['name']} </div>
		            <span class="fontGray9">市场价：{$vo['market_price']} （元）</span><br/>
		            <span class="orange">本站价：{$vo['local_price']}（元）</span> </div>
	          	</div>  
			</volist>   
      </div>
    </div>
  </div>
  <div class="fLeft mT10">
  <div class="Menubox font14 orange mT10 clear mB10">
  <!--  -->
        <ul>
          <li class="cut">推荐产品</li>
          
          <!-- <li>热门分类：<span class="fontnormal font12">粮油 | 蔬菜 | 禽类</span></li> -->
        </ul>
      </div>
      
      
      	
      	<volist name="typeList" id="vo">
        <table width="768" border="0" class="line18 mT10" bgcolor="#CBF2CB" cellpadding="1" cellspacing="1">
	        <tr>
	        
	          <td width="10"  class="font14 fontbold p10 bgGreen line30">{$vo['name']}</td>
	          <td valign="top" class="p5"  bgcolor="#ffffff">    
	          	 <volist name="vo['one']" id="one_sub">
			          <table width="24%" border="0" cellspacing="0" cellpadding="0" class="fLeft mTB10"  bgcolor="#ffffff">
			            <tr>
			              <td rowspan="2"  class="p5" width="35" valign="top"><img src="__PUBLIC__/uploadfiles/files/common/{$one_sub['imageurl_small']}" width="35" height="45" /></td>
			              <td class="font14 fontbold green p5"><a href="" class=" orange"><a href="__APP__/ProductShow/index/pro_type_id/{$one_sub['type_id']}/pro_catalog_id">{$one_sub['name']} </a></td>
			            </tr>
			            <tr>
			              <td class="p5">
			              	  <volist name="one_sub['two']" id="two_sub">
			              		<a href="__APP__/ProductShow/index/pro_type_id/{$two_sub['type_id']}/pro_catalog_id/{$two_sub['id']}">{$two_sub['name']}</a>  &nbsp;&nbsp;&nbsp;
			              	  </volist>	
			              </td>
			            </tr>
			          </table>
			          
	          	 </volist>
	         </td>
	        </tr>
       </table>      
	     </volist>	     
    
      
  
  </div>
</div>
<div class="content-right fLeft mL10 line18 w200">
  <div class="news-box">
    <h4><span class="orange">新闻中心</span><a class="font12 fontnormal green fRight" href="__APP__/News/">&raquo;更多</a></h4>
    <div>
      <ul class="ulDisc line24">
      
   	    <volist id="vo" name="lastUpdateList">		
      		<li><a href="__APP__/News/detail/id/{$vo['id']}" target="_blank">{$vo['title']}</a> </li>
      	</volist>

      </ul>
    </div>
  </div>
  <div class="news-box mT10">
    <h4><span class="orange">荣誉证书</span><a class="font12 fontnormal green fRight" href="__APP__/WebSiteShow/detail/code/ryrz">&raquo;更多</a></h4>
    <div>
      <ul class="ulDisc line24">
        <volist id="vo" name="honorList">		        
      		<li><a href="__APP__/WebSiteShow/detail/code/{$vo['code']}" target="_blank">{$vo['summary']}</a> </li>
      	</volist>
      
        
      </ul>
    </div>
  </div>
  <div class="news-box mT10">
    <h4><span class="orange">销售排行</span><a class="font12 fontnormal green fRight" href="__APP__/ProductShow">&raquo;更多</a></h4>
    <div class="p10">
      <ul class="sale-top clear">
      	<volist id="vo" name="salesamountList" key="k">	
      		        <li>
      		        <if condition="($k eq 1)">
					<span class="li1 white">1</span> 
				<else />
					<span class="li2 white">{$k}</span> 
				</if>
					<a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank"> <img src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}" class="p2 lineBorder" width="54" height="54" /></a> <span><a href="__APP__/ProductDetail/index/id/{$vo['id']}" class="green">{$vo['name']}</a> <br/>
          	<b class="red">{$vo['local_price']}￥</b></span> </li>
      	</volist>
      </ul>
    </div>
  </div>
  <div class="news-box mT10">
    <h4><span class="orange">友情链接</span></h4>
    <div>
      <ul class="ulDisc line24">
	<li><a title="农副产品交易网" href="http://www.zgncpw.com" target="_blank">农副产品交易网</a></li>
    <li><a title="西部农业网" href="http://www.xbny123.com" target="_blank">西部农业网</a></li>
    <li><a title="农产品交易网" href="http://www.zgncpw.com" target="_blank">农产品交易网</a></li>
    <li><a title="农业信息网" href="http://www.nyinfo.org.cn" target="_blank">农业信息网</a></li>
    <li><a title="花卉苗木网" href="http://www.xinhuamu.com.cn" target="_blank">花卉苗木网</a></li>
      </ul>
    </div>
  </div>
</div>
</div>


<include file="./Tpl/default/Index/footer.html" />


</body>
</html>
